package com.etime.yqtsponsor.dto;

import com.etime.yqtsponsor.pojo.ActivePicBank;
import com.etime.yqtsponsor.pojo.ActiveTheme;
import com.etime.yqtsponsor.pojo.Questions;

import java.util.List;

/**
 * @author jj
 * @date2022/7/19 17:25
 * 创建问卷调查的dto实体类
 */

public class CreateSurveyActiveDto{


//    private String showPic;

//    private String type;//问题类型 ：单选 多选 。。。
//    private String stem; //题干
//    private String metas;//选项



    //activeTheme的属性
    private Integer id;
    private String type;
    private String title;
    private Integer showPicId;
    private String desc;
    private Integer descPicId;
    private String prizeDesc;
    private Integer open;
    private String pwd;
    private Integer show;
    private String bannerPicIds;
    private Integer published;
    private Integer toShy;
    private Integer createdAdminId;
    private Integer createdUserId;
    private Integer createdTime;
    private Integer pass;
    private Integer deleted;

    //active_pic_bank的属性
    private List<ActivePicBank> activePicBank;
    //questions的属性
    private List<Questions> questions;

    public CreateSurveyActiveDto() {
    }

    public CreateSurveyActiveDto(Integer id, String type, String title, Integer showPicId, String desc, Integer descPicId, String prizeDesc, Integer open, String pwd, Integer show, String bannerPicIds, Integer published, Integer toShy, Integer createdAdminId, Integer createdUserId, Integer createdTime, Integer pass, Integer deleted, List<ActivePicBank> activePicBank, List<Questions> questions) {
        this.id = id;
        this.type = type;
        this.title = title;
        this.showPicId = showPicId;
        this.desc = desc;
        this.descPicId = descPicId;
        this.prizeDesc = prizeDesc;
        this.open = open;
        this.pwd = pwd;
        this.show = show;
        this.bannerPicIds = bannerPicIds;
        this.published = published;
        this.toShy = toShy;
        this.createdAdminId = createdAdminId;
        this.createdUserId = createdUserId;
        this.createdTime = createdTime;
        this.pass = pass;
        this.deleted = deleted;
        this.activePicBank = activePicBank;
        this.questions = questions;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getShowPicId() {
        return showPicId;
    }

    public void setShowPicId(Integer showPicId) {
        this.showPicId = showPicId;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Integer getDescPicId() {
        return descPicId;
    }

    public void setDescPicId(Integer descPicId) {
        this.descPicId = descPicId;
    }

    public String getPrizeDesc() {
        return prizeDesc;
    }

    public void setPrizeDesc(String prizeDesc) {
        this.prizeDesc = prizeDesc;
    }

    public Integer getOpen() {
        return open;
    }

    public void setOpen(Integer open) {
        this.open = open;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public Integer getShow() {
        return show;
    }

    public void setShow(Integer show) {
        this.show = show;
    }

    public String getBannerPicIds() {
        return bannerPicIds;
    }

    public void setBannerPicIds(String bannerPicIds) {
        this.bannerPicIds = bannerPicIds;
    }

    public Integer getPublished() {
        return published;
    }

    public void setPublished(Integer published) {
        this.published = published;
    }

    public Integer getToShy() {
        return toShy;
    }

    public void setToShy(Integer toShy) {
        this.toShy = toShy;
    }

    public Integer getCreatedAdminId() {
        return createdAdminId;
    }

    public void setCreatedAdminId(Integer createdAdminId) {
        this.createdAdminId = createdAdminId;
    }

    public Integer getCreatedUserId() {
        return createdUserId;
    }

    public void setCreatedUserId(Integer createdUserId) {
        this.createdUserId = createdUserId;
    }

    public Integer getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Integer createdTime) {
        this.createdTime = createdTime;
    }

    public Integer getPass() {
        return pass;
    }

    public void setPass(Integer pass) {
        this.pass = pass;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public List<ActivePicBank> getActivePicBank() {
        return activePicBank;
    }

    public void setActivePicBank(List<ActivePicBank> activePicBank) {
        this.activePicBank = activePicBank;
    }

    public List<Questions> getQuestions() {
        return questions;
    }

    public void setQuestions(List<Questions> questions) {
        this.questions = questions;
    }

    @Override
    public String toString() {
        return "CreateSurveyActiveDto{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", showPicId=" + showPicId +
                ", desc='" + desc + '\'' +
                ", descPicId=" + descPicId +
                ", prizeDesc='" + prizeDesc + '\'' +
                ", open=" + open +
                ", pwd='" + pwd + '\'' +
                ", show=" + show +
                ", bannerPicIds='" + bannerPicIds + '\'' +
                ", published=" + published +
                ", toShy=" + toShy +
                ", createdAdminId=" + createdAdminId +
                ", createdUserId=" + createdUserId +
                ", createdTime=" + createdTime +
                ", pass=" + pass +
                ", deleted=" + deleted +
                ", activePicBank=" + activePicBank +
                ", questions=" + questions +
                '}';
    }
}
